<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" import="com.brother.realtime.*,java.util.*"%>
 <%
 com.brother.model.Customer user = (com.brother.model.Customer)session.getAttribute(com.brother.Constants.LOGIN_SESSTION_NAME);
 if(user == null || user.getUserid() == 0 || !user.isAdmin())
 	return;
 if(!user.getName().equalsIgnoreCase("cong")){
	 return;
 }
 %>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>

<%
ProcessorPool p = ProcessorPool.getInstance();
List<RealTimeDataProcessor> rps= p.getAll();
out.println("size="+rps.size()+"<br/>");
for(RealTimeDataProcessor rp:rps){
	out.println("trackerId="+rp.getUserTrackerId()+"  "+rp.getAddress()+"  "+"<br/>");
}
%>

</body>
</html>